package com.dxt.springmvcdemo;

import com.dxt.springmvcdemo.pojo.User;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

@SpringBootApplication
@EnableConfigurationProperties(User.class)
@Slf4j
public class SpringMvCdemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringMvCdemoApplication.class, args);
    }

}
